﻿--[[
   @brief    CTips广告(进助手页和游戏退出时，右下角弹窗)
   @author   hanmanhuang
   @version  1.0
   @date     2017-10-19
--]]

CTips_desc =
{
    module_name = 'CTips',
    events = 
    {
        {
            c_event = 
            {
                {
                    id = ierd_tgp.tips_mgr.ON_MSGTIPS_GAME_RUNNING,
                    callback = 'CTips_control.NotifyGameRunning'
                },
                {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_START,
                    callback = 'CTips_control.OnGameStart'
                },
                {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_END,
                    callback = 'CTips_control.OnGameEnd'
                },
            },
            lua_event = 
            {
                 {
                     id = banner_event.FOCUS_BANNER_ITEM,
                     callback = "CTips_control.OnBannerItemChange"
                 }
            },
            lua_file = "CTips\\control.lua"
        }        
    }
};
desc_mgr.add(CTips_desc); 